<%@ page import="hcmus.fit.master.rdfa.Triple" %>

<div class="fieldcontain ${hasErrors(bean: tripleInstance, field: 'subject', 'error')} ">
    <label for="subject">
        <g:message code="triple.subject.label" default="Subject" />
        
    </label>
    <g:textField name="subject" value="${tripleInstance?.subject}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: tripleInstance, field: 'predicate', 'error')} ">
	<label for="predicate">
		<g:message code="triple.predicate.label" default="Predicate" />
		
	</label>
	<g:textField name="predicate" value="${tripleInstance?.predicate}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: tripleInstance, field: 'object', 'error')} ">
    <label for="object">
        <g:message code="triple.object.label" default="Object" />
        
    </label>
    <g:textField name="object" value="${tripleInstance?.object}"/>
</div>